package com.hhit.zhgd.dao

import com.baomidou.mybatisplus.core.mapper.BaseMapper
import com.baomidou.mybatisplus.extension.plugins.pagination.Page
import com.hhit.zhgd.domain.entity.Role
import org.apache.ibatis.annotations.Mapper
import org.apache.ibatis.annotations.Param

@Mapper
interface RoleMapper:BaseMapper<Role> {
    fun getAll(params:HashMap<String,*>):List<Role>
    fun getList(page:Page<Role>,@Param("params") params: HashMap<String, Any?>):Page<HashMap<String,Any?>>
}